package com.xinsoft.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import com.xinsoft.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 库存冻结明细
 * @TableName scm_stock_frozen
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="scm_stock_frozen")
@Data
public class ScmStockFrozen extends BaseEntity implements Serializable {

    /**
     * 库存表ID
     */
    private Integer stockId;

    /**
     * 库存编码
     */
    private String stockCode;

    /**
     * 仓库ID
     */
    private Integer warehouseId;

    /**
     * 库位ID
     */
    private Integer warehItemId;

    /**
     * 物料ID
     */
    private Integer materialId;

    /**
     * 物料编码
     */
    private String materialNo;

    /**
     * 库存批次
     */
    private String batchNo;

    /**
     * 冻结企业ID
     */
    private Integer frozenComId;

    /**
     * 冻结生产计划ID
     */
    private Integer batchProducePlanId;

    /**
     * 冻结数量
     */
    private BigDecimal batchNumFrozen;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}